-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/New UI for create project #918
feature/New UI for create project #918
Conversation
…3/fmtm into feat-createproject-projectdetails-new
…3/fmtm into feat-createproject-projectdetails-new
…3/fmtm into feat-createproject-projectdetails-new
…le clear when option changed
* fix (create new project): create new project url updated * fix (create new project): upload area - select a file issue solved * fix (create new project): data extract - select a file issue solved * fix (radiobutton): option selection on label click, UI fix * fix (create new project): initial values for project details form added * feat (select): custom select component added * fix (create new project): data extract - shadcn select replaced with customselect * fix (custom select): updated props * fix (create new project): project detials - shadcn select replaced with customselect * fix (select): shadcn components export removed * fix (create new project): select form - shadcn select replaced with customselect * fix radiobutton): - value prop added * fix (create new project): upload area - value prop added to radiobutton, map added * fix (create new project): event cleanup added
…file issue solved
…3/fmtm into feat-createproject-projectdetails-new
…3/fmtm into feat-createproject-projectdetails-new
for more information, see https://pre-commit.ci
Just checking - so I shouldn't merge this if I understand correctly? |
@spwoodcock No, you can merge it now. I completed most of the functionality so little tweaks will happe on other PR, after this looks good on development server |
@spwoodcock as i noticed now frontend test case have failed something to do with my package install or anything you know ? |
Fixed 👍 |
@spwoodcock I am having an issue installing the package from my own local file system like going into fmtm and src/frontend and pnpm install is that not how we should do it? do i need to go to docker exec -it fmtm bash and do pnpm install ? |
Yes you should be able to
Are you getting an error? You shouldn't have to install via docker. |
@spwoodcock Yeah not only me most of us were getting errors related to any package installed on the frontend side but when we do a |
Ah yes, I see the issue - in the docker-compose.yml: volumes:
- ./src/frontend:/app
- /app/node_modules/ The second volume prevents the local node_modules being mounted into the container. The issue is that it prevents the node_modules updating when just running I think this could be handled better - thanks for raising 👍 (I'll look into it) |
ah thats why it always acted weird installing new packages it didn't use local node_modules so had to do inside the docker container. |
One extra thing. Copying the pnpm-lock.yml seems to be have been missed in the frontend dockerfiles after the pnpm upgrade. So adding these may help (I will push now). The solution for the above (renewing node_modules after adding a dependency / rebuilding), is to use the flag: |
here's a preview of the step
You can check all the steps on the create project and tweak around a bit
Probable bugs could be there with this PR letting @spwoodcock know that we will now gradually keep improving this feature with the requirement and bug fixes here and there. Sorry for this huge PR